home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / rexx / zipscripts.lha / zipscripts.readme < prev    next >
Text File  |  1997-07-11  |  3KB  |  116 lines

  1.                ARexx Scripts for Zip Disks (Version 2.0)
  2.  
  3.                           by Todd Deery
  4.  
  5.  
  6.  
  7. Here are a few scripts I wrote for use with a Zip Drive.  Essentially,
  8. the scripts allow one to set up different assigns and paths with
  9. different disks.
  10.  
  11. There are 2 versions of the scripts.  The first (in directory
  12. DataFlyer) is for those users with a DataFlyer SCSI controller and
  13. the CheckDC command (in the c directory on the install disk) or with a
  14. controller that automatically recognizes diskchanges.  The second (in
  15. directory Generic) is for all others.  The 2 will function identically,
  16. the second just requires more code to simulate the function of CheckDC.
  17.  
  18.  
  19. How it works (a brief description):
  20.  
  21. The ARexx script zip.rexx continuously checks the drive until a disk
  22. is inserted.  Then the startup script for the disk is executed and the
  23. paths and assigns are added.  The eject script removes the assigns and
  24. paths and ejects the disk.  It also starts the zip.rexx script.
  25.  
  26.  
  27. Requirements:
  28.  
  29. Ziptool V1.2 by Oliver Hitz.  Available on Aminet.
  30.  
  31.  
  32. Installation:
  33.  
  34. copy zip.rexx s:
  35. copy eject s:
  36. copy setup s:setup
  37.  
  38.  
  39. add the following lines to s:user-startup
  40.  
  41. runback >nil: checkdc zip:           <--- only if using a DataFlyer
  42.                                           controller
  43. run >nil: rx s:zip.rexx
  44.  
  45.  
  46. On each zip disk, create a setup directory.
  47.  
  48. copy remove zip:setup
  49. copy startup zip:setup
  50.  
  51.  
  52. (The fzip script will format a zip disk with the name Empty, and copy
  53. default versions of the above scripts into a directory named setup on the
  54. zip disk.)
  55.  
  56. Edit each of the files in zip:setup to correspond to the needed
  57. environment for the disk.
  58.  
  59. In   startup   add any assigns, and other commands that are needed to
  60. setup the software on that disk.
  61.  
  62. Sample startup
  63.  
  64. assign joe: zip:
  65. assign fred: zip:misc
  66.  
  67. ;Path additions
  68. assign c: joe: fred: add
  69.  
  70.  
  71.  
  72. In   remove   add the commands necessary to remove the paths, and
  73. assigns, as well as any other shutdown things that are needed.
  74.  
  75. Sample remove
  76.  
  77. assign c: joe: fred: remove
  78. assign joe: remove
  79. assign fred: remove
  80.  
  81.  
  82. Customization:
  83.  
  84. The files currently assume that the zip drive is referred to by zip:
  85. If zip0: or something else is used, it will be necessary to modify the
  86. scripts.
  87.  
  88.  
  89. Author Contact Info:
  90.  
  91. Name:       Todd Deery
  92. Email:      deery@mast.queensu.ca
  93. Address:    5A Scott St.
  94.             Kingston, ON
  95.             CANADA
  96.             K7L 1L3
  97.  
  98.  
  99. Disclaimer:
  100.  
  101. This works for me.  I make no guarantees that it will work for you.
  102. However, if you find a problem please let me know, and I'll try to
  103. work on it.
  104.  
  105.  
  106. The Future:
  107.  
  108. I don't know.  Any suggestions are welcome.
  109.  
  110.  
  111. Registration:
  112.  
  113. None.  However, I would appreciate an email or something, just so I
  114. know that some people are using it.  Also, money, computers, etc.
  115. would not be turned away. :}
  116.